package admin.server.model.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import admin.dao.model.UmsAdmin;
import admin.dao.model.UmsMenu;
import admin.dao.model.UmsRole;

import java.util.ArrayList;
import java.util.List;

/**
 * @author zgb
 * @date 2024-03-12 18:48
 * @description TODO
 */


@Schema(description = "菜单节点 响应对象")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class UmsAdminDetailDto extends UmsAdmin {
    private static final long serialVersionUID = 1L;

    @Schema(description = "角色idList")
    private List<Long> roleIdList = new ArrayList<>();
    @Schema(description = "角色列表")
    private List<UmsRole> roles = new ArrayList<>();

    @Schema(description = "菜单列表")
    private List<UmsMenu> menus = new ArrayList<>();

}